@import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro:ital,wght@0,200;0,300;0,400;0,600;0,700;0,900;1,200;1,300;1,400;1,600;1,700;1,900&display=swap');
@import url("prism.css");

:root {
    --first: #000;
    --second: #7812B3;
    --third: #000850;
    --fourth: #000C75;
    --fith: #fff;
}
*{
font-family: 'Source Sans Pro', sans-serif;
}
body{
	background: var(--third);
	font-family: Arial;
	padding-top: 45px;
	font-size: 15px;
		color: var(--fith);
}
html::-webkit-scrollbar-track {
    background: linear-gradient(
90deg,#434343,#434343 1px,var(--third) 0,var(--fourth));
}
html::-webkit-scrollbar-thumb {
    background: var(--second);
    border-radius: 16px;
    box-shadow: inset 2px 2px 2px hsl(0deg 0% 100% / 25%), inset -2px -2px 2px rgb(0 0 0 / 25%);
}
html::-webkit-scrollbar-track {
    background: linear-gradient(
90deg,#434343,#434343 1px,var(--third) 0,var(--fourth));
}
html::-webkit-scrollbar-thumb:hover {
    background: var( --first);

}
html::-webkit-scrollbar {
    width: 16px;
    height: 16px;
}
.icon-bg {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    margin: 0px auto;
    background: linear-gradient(180deg, var(--second), var(--fourth));
    padding-top: 10px;
    box-sizing: border-box;
}
.icon-bg .icon {
    width: 30px;
    height: 30px;
}
.icon {
    display: block;
    width: 50px;
    height: 50px;
    margin: auto;
    text-align: center;

}

a {color:var(--fith);}
a:hover {color: var(--fourth);
    background: var(--second);
    text-decoration: underline;
    font-weight: bold;}

h1 {
    font-family: Fontin SmallCaps;
    color: var(--fith);
    font-weight: normal;
    text-align: center;
    text-shadow: var(--third) 6px -4px 0px, var(--second) 7px -5px 0px, var(--third) 5px -5px 0px, var(--second) 7px -3px 0px;
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 800;
}

h2 {
    text-shadow: #000850 6px -4px 0px, #7812b3 7px -5px 0px, #000c75 5px -5px 0px, #7812b3 7px -3px 0px;
}
@media only screen and (max-width: 768px) {
  /* For mobile phones: */
  .topLeft, .topRight{
  	width: auto;
  	float: none;
  }
.rightimgacc {
    background-size: cover;
    z-index: 1;
	width: calc(100% - 15px );
    padding-bottom: 0px;
    height: calc(30% - 0px ); 
     min-height: 100%; 
    width: 100%;
}
}



.container{
	max-width: 1024px;
    margin-left: auto;
    margin-right: auto;
	padding-top: 60px;
}

.logo {
    display: block;
    width: 170px;
    height: 100px;
    text-align: center;
}
div.tab button.active {
    background-color: var(--second);
}

#signup {
    display: none;
}
#container {
    max-width: none;
    margin-left: auto;
    margin-right: auto;
}
.helpnav li {
    background-color: var(--third);
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgb(0 0 0 / 20%);
    z-index: 1;
}
.helpnav a {
    display: flex;
    color: white;
    padding: 8px 16px;
	text-decoration: none;
}
.helpnav ul {
list-style: none;
    padding-left: unset;
}
.topRight {
float: right;
    width: calc( 60% - 20px );
    padding: 10px;
}


.topLeft{
    float: left;
    width: calc( 40% - 20px );
    padding: 10px;
}

div.tab {
    overflow: hidden;
    margin: 0;
    padding: 0;
}

div.tab button {
    background-color: var(--second);
    border: none;
    outline: none;
    color: white;
    float: left;
    padding: 10px;
    cursor: pointer;
    width: 50%;
}

div.tab button:hover {
    background-color: #A60DFF;
}

img.emoji {
   height: 1em;
   width: 1em;
   margin: 0 .05em 0 .1em;
   vertical-align: -0.1em;
}

/*============== NAVBAR SETTINGS ============*/
#hSub {
	background: #7812b3;
	font-size: small;
	margin: 0px;
	padding: 6px;
	padding-left: 10px;
	padding-top: 4px;
	position: fixed;
	left: 0;
	top: 40px;
	width: calc(100% - 15px );
	color: #000;
	height: 50px;
	z-index: 300;
}

#hSub img.emoji {
position: static;
}

.usernav {
    background-color: var(--fourth);
}

.usernav ul {
    float: left;
    margin: 0;
    padding: 0;
}

.usernav ul li {
    display: inline;
}

.usernav ul li a {
    display: inline-block;
    color: white;
    padding: 0px 10px;
}

.usernav ul li a:hover {
    background-color: var(--second);
}

.dropbtn {
  background-color: var(--fourth);
  color: white;
  padding: 16px;
  font-size: 16px;
  border: none;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
background-color: var(--fourth);
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.dropdown-content a:hover {background-color: var(--fourth);}

.dropdown:hover .dropdown-content {display: block;}

.dropdown:hover .dropbtn {background-color: var(--fourth);}

/* Search */

.usernav .globalsearch {
height: 35px;
}

.usernav .globalsearch input[type=text] {
    border: none;
    width: auto;
height: 18px;
    padding: 2px 6px;
    background-color: var(--third);
    color: var(--fith);
font-size: smaller;
}

.usernav .globalsearch input[type=submit] {
    background-color: var(--third);
    color: #23385f;
    border: none;
    width: auto;
    font-size: larger;
}

.usernav .globalsearch input[type=submit]:hover {
    background-color: var(--fourth);
    color: white;
font-size: large;
}

input[type="file"] {
border-radius: 5px;
    padding: 0;
    background: var(--third);
    border: 2px solid var(--first);
    font-size: 14px;
    color: var(--second);
}

input[type="file"]::before {
    content: "📥";
    color: var(--second);
	display: inline-block;
    background-color: var(--fourth);
    padding: 0px 5px;
    border-radius: 201px;
    line-height: 28px;
    -webkit-transition: all .4s ease;
    -moz-transition: all .4s ease;
    -ms-transition: all .4s ease;
    -o-transition: all .4s ease;
    transition: all .4s ease;
}
input[type="file"]:hover::before {
    background: var(--second);
    color: var(--fith);
}

.usernav .globalsearch select {
    background-color: var(--third);
    color: var(--fith);
    font-family: Fontin;
    padding: 0.9px 0px;
}

.createpost textarea {
    width: 100%;
    resize: vertical;
    min-height: 200px;
}
.createpost input[type=checkbox] {
    width: fit-content;
}
.createpost label {
    color: var(--fith);
}
.createpost textarea {
    width: 98%;
    resize: vertical;
    min-height: 200px;
    background-color: var(--third);
    box-shadow: 0 0 5px var(--first);
    padding-inline: 6px;
    color: var(--fith);
    padding-top: 6px;
    padding-bottom: 6px;
}
.post, .createpost {
    background-color: var(--fourth);
    box-shadow: 0 0 5px var(--first);
    margin: auto;
    width: 650px;
    padding: 10px 16px;
    overflow: auto;
}

#compteur {
    float: right;
    font-size: x-small;
}

#topbutton::after {
    content: "🔼";
    font-weight: normal;
    font-style: normal;
    font-size: 1.5em;
    line-height: 50px;
}
#topbutton:hover {
    cursor: pointer;
    background-color: var(--second);
	color: var(-fourth);
}
#topbutton.show {
    opacity: 1;
    visibility: visible;
}
#topbutton {
    display: inline-block;
    background-color: var(--fourth);
    width: 50px;
    height: 50px;
    text-align: center;
    border-radius: 100%;
    position: fixed;
    bottom: 30px;
    right: 30px;
    transition: background-color .3s, opacity .5s, visibility .5s;
    opacity: 0;
    visibility: hidden;
    z-index: 1;
}

/*============== post ============*/
.post {
    word-wrap: break-word;
}

		.post img {
    image-rendering: auto;
    image-rendering: crisp-edges;
    image-rendering: pixelated;
    image-orientation: from-image;
}

.createpostbuttons {
    width: 50%;
    margin: auto;
    text-align: center;
}
.createpostbuttons img {
    display: inline-block;
    width: 12%;
    height: auto;
    margin-bottom: 0;
}
.post .public {
    float: right;
    text-align: center;
    width: auto;
}

.pc {
  display: initial;
}
	.phone {
  display: none;
}
@media only screen and (max-width:768px){
.topLeft, .topRight {
    width: auto !important;
    float: none !important;
}
.post, .createpost {
    width: calc( 90% - 0px );
}
.phone {
  display: initial;
}
.pc {
  display: none;
}
}

/*==============DEFAULT TAB SETTINGS ============*/

div.tab button.active {
    background-color: var(--fourth);
}

#signup {
    display: none;
}
input {
    font-family: Fontin, Arial, Verdana;
    width: 100%;
    font-size: 18px;
    padding: 2px;
}
input[type=radio], input[type=checkbox] {
    width: auto;
}


.avatar{
	width:200px;
margin-left: auto;
	margin-right: auto;
	image-orientation: from-image;
}



.boxHead{
	background: var(--first);
	color: white;
	padding: 3px;
	padding-bottom: 4px;
	padding-left: 6px;
}

.boxInfo table {
	width: 100%;
}


.rightHead{
	background: var(--second);
	color: #cc6633;
	padding-bottom: 4px;
	padding-left: 6px;
}


.tabcontainer, .profile {
    background-color: var(--fourth);
    box-shadow: 0 0 5px var(--first);
    padding: 1.5em;
margin-bottom: 1em;
    word-wrap: break-word;
}
details div {
	border-left: 1px solid var(--first);
	border-right: 1px solid var(--first);
	border-bottom: 1px solid var(--first);
	padding: 1.5em;
}



details + details {
	margin-top: .5rem;
}

summary {
	list-style: none;
}

summary::-webkit-details-marker {
	display: none;
}

summary {
	border: 2px solid var(--first);
	padding: .55em 1em;
	cursor: pointer;
	position: relative;
	padding-left: calc(1.75rem + .75rem + .75rem);
}

summary:before {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	left: .75rem;
	content: "⏬";
	width: 1.75rem;
	height: 1.75rem;
	background-color: var(--first);
	color: #FFF;
	display: inline-flex;
	justify-content: center;
	align-items: center;
}

details[open] summary {
	background-color: var(--third);
}

details[open] summary:before {
	content: "🔼";
}

summary:hover {
	background-color: var(--second);
}

p{
	color: var(--fith);
}

h4{
	color: var(--fith);
	margin-bottom: 0px;
}


.boxButton{
    display: initial;
    height: 24px;
    padding-top: 7px;
}


#top a{
	text-decoration: none;
}

#viewFriends{
	margin-top: 20px;
	margin-bottom: 20px;
	text-align: right;
}


#footer{
	font-size:small;
	width: 100%;
	bottom: 0px;
	display: grid;
	text-align: center;
}

#footer a {
	text-decoration: none;
}

#header{
	background: #000850;
	color: #fff;
	position: fixed;
	width: calc( 100% - 15px );
	height: 40px;
	padding: 5px;
	left: 0px;
	top: 0px;
	margin-bottom: 40px;
	border-bottom: 1px solid black;
	padding-left: 10px;
	padding-top: 6px;
	overflow:hidden;
	z-index: 300;
}
#header a:hover{
	background: #000c75;

}

#header a:not(.logo) {
	margin-left:10px;
	color:#fff;
	font-size: small;
	text-decoration:none;
}

a.logo{
	color:white;
	text-decoration:none;
}

#header img {
	top: 1px;
	left: 20px;
	position: absolute;
}

#hSub a {
	color: #fff;
	text-decoration: none;
}
#hSub a:hover {
		background: #a60dff;
}

.btn {
    padding: 7px 35px;
    border-radius: 26px;
    text-transform: uppercase;
    text-align: center;
	justify-content: center;
    line-height: 28px;
    font-size: 14px;
    font-weight: 700;
    margin-top: 5px;
    -webkit-transition: all .4s ease;
    -moz-transition: all .4s ease;
    -ms-transition: all .4s ease;
    -o-transition: all .4s ease;
    transition: all .4s ease;
}

.btn:hover {
    background: var(--third);
    color: var(--fith);
}

@media only screen and (max-width: 768px) {
  /* For mobile phones: */
  .topLeft, .topRight{
  	width: auto;
  	float: none;
  }
}


/*============== SETTINGS ============*/

input#surnom, input#nom, input#prenom {
    font-family: Fontin, Arial, Verdana;
    width: calc( 70% - 7px );
    font-size: 18px;
    padding: 2px;
}

.btnsett {
    border-radius: 26px;
    text-transform: uppercase;
    text-align: center;
    line-height: 28px;
    font-size: 14px;
    font-weight: 700;
width: calc( 30% - 10px );
    margin-top: 5px;
    -webkit-transition: all .4s ease;
    -moz-transition: all .4s ease;
    -ms-transition: all .4s ease;
    -o-transition: all .4s ease;
    transition: all .4s ease;
}

.btnsett:hover {
    background: var(--third);
    color: var(--fith);
}

input.deletethis {background-color: #b24242 !important;}
input.deletethis:hover {background-color: #803030 !important;}

/*============== Amis ============*/

.userquery {
    background-color: var(--fourth);
    box-shadow: 0 0 5px var(--fith);
    margin: auto;
    width: 320px;
    padding: 20px 20px 0px 20px;
    overflow: auto;
    text-align: center;
}

.frame {
    width: 200px;
    display: inline-block;
    background-color: var(--fourth);
    box-shadow: 0 0 5px var(--fith);
    padding: 10px;
    margin: 5px;
}

    .frame a:hover{
        text-decoration: underline;
    }
    
    
    .language-css {
    background-color: var(--first);
    color: var(--fith);
    padding: 10px;
    border-radius: 5px;
    font-family: monospace;
}

.language-css .keyword {
    color: var(--second);
    font-weight: bold;
}

.language-css .property {
    color: var(--third);
}

.language-css .value {
    color: var(--fourth);
}